package com.yf1706.dao.jpa;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.yf1706.bean.Salary;

public interface ISalaryJDAO extends JpaRepository<Salary, Integer>{

	@Query("select s from Salary s where s.salarySob.salarySobId = ?1")
	Page<Salary> findSearch (int id, Pageable pageable);
}
